import types from '../../consts/actionTypes';

const selecteWidgetTimeline = timeline => ({type: types.timelines.SELECT_WIDGET_TIMELINE, payload: timeline});
const updateTimeline = timeline => ({type: types.timelines.UPDATE_TIMELINE, payload: timeline});
const updateTimelines = timelines => ({type: types.timelines.UPDATE_TIMELINES, payload: timelines});
const removeTimeline = timelines => ({type: types.timelines.REMOVE_TIMELINE, payload: timelines});
const addTimeLine = timeline => ({type: types.timelines.ADD_TIMELINE, payload: timeline});
export default {
    selecteWidgetTimeline,
    updateTimeline,
    updateTimelines,
    removeTimeline,
    addTimeLine
};
